<?php
session_start();
include_once('../classes/connector.php');
new connectorok();


echo "<ul>";
$result=mysql_query("select * from fotogalery where galleryname='$_POST[kintamasis]'") or die(mysql_error()); 
while($row=mysql_fetch_array($result)){
echo "<li class='$row[src]'><a href='upload/$row[src]' title='' class='lightbox'><img src='upload/$row[src]'  alt='' /></a>
<span style='margin-top:105px;width:50px;'><a title='$row[src]' class='clicker'>Trinti</a></span>
</li>
";
}
echo "</ul>";

?>